org.globalplatform
Interface Application

All Superinterfaces:
javacard.framework.Shareable

public interface Application
extends javacard.framework.Shareable

This defines the interface that represents an applet method accessible through the OPEN to the application's associated Security Domain. This interface must be implemented by the Applet class that will use the additional functionality allowing a Security Domain to pass data to the applet.

Since:
export file version 1.0

Method Summary
 void processData(byte[] baBuffer, short sOffset, short sLength)
          This method processes application specific data received from another entity on the card.
 

Method Detail

processData

void processData(byte[] baBuffer,
                 short sOffset,
                 short sLength)
This method processes application specific data received from another entity on the card. If this other entity is the Application's associated Security Domain, this data is the APDU buffer.

Notes:

Parameters:
baBuffer - the source byte array containing the data expected by the applet. This buffer must be global.
sOffset - starting offset of data within source byte array.
sLength - length of data.